export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  selection: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  menu: true,
  menuWidth: 280,
  // addBtn: false,
  viewBtn: true,
  labelWidth: 140,
  column: [
    {
      type: 'year',
      label: '所属年度',
      prop: 'year',
      span: 12,
      display: true,
      format: 'yyyy',
      valueFormat: 'yyyy',
      search: true
    },
    {
      type: 'month',
      label: '所属月份',
      prop: 'month',
      span: 12,
      display: true,
      format: 'M',
      valueFormat: 'M',
      search: true
    },
    {
      type: 'input',
      label: '人员编号',
      prop: 'userNumber',
      search: true,
      span: 12
    },
    {
      type: 'select',
      label: '发送短信状态',
      prop: 'sendSmsStatus',
      span: 12,
      width: 100,
      display: true,
      search: true,
      props: {
        label: 'label',
        value: 'value'
      },
      dicData: [
        {
          label: '未发送',
          value: '0'
        },
        {
          label: '发送成功',
          value: '1'
        },
        {
          label: '电话号码错误',
          value: '2'
        },
        {
          label: '人员编号错误',
          value: '3'
        },
        {
          label: '用户在本系统中不存在',
          value: '4'
        }
      ]
    },
    {
      type: 'input',
      label: '发送短信条数',
      prop: 'sendSmsCount',
      span: 12,
      width: 100,
      display: true
    }
  ]
}

export const personalWages = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  searchMenuSpan: 6,
  menu: true,
  addBtn: false,
  column: [
    {
      type: 'year',
      label: '所属年度',
      prop: 'year',
      span: 12,
      display: true,
      format: 'yyyy',
      valueFormat: 'yyyy',
      search: true
    },
    {
      type: 'month',
      label: '所属月份',
      prop: 'month',
      span: 12,
      display: true,
      format: 'MM',
      valueFormat: 'MM',
      search: true
    },
    {
      type: 'input',
      label: '人员编号',
      prop: 'userNumber',
      span: 12
    },
    {
      type: 'input',
      label: '发送短信状态',
      prop: 'sendSmsStatus',
      span: 12,
      width: 100,
      display: true
    },
    {
      type: 'input',
      label: '发送短信条数',
      prop: 'sendSmsCount',
      span: 12,
      width: 100,
      display: true
    }
  ]
}
